package com.dragon.modules.yuegou.service.product;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dragon.common.web.PageRequest;
import com.dragon.modules.yuegou.entity.product.JdProductShareEntity;
import com.dragon.modules.yuegou.model.product.JdProductShare;
import com.dragon.modules.yuegou.model.product.PosterAppInfo;
import com.dragon.modules.yuegou.query.product.JdProductShareQuery;
import org.springframework.web.multipart.MultipartFile;

import java.util.LinkedHashMap;
import java.util.List;

/**
 * 新生活分享商品信息 服务接口
 *
 * @author pbuilder generated
 * @date 2022-04-11 14:37:02
 * @version 2.0
 */
public interface JdProductShareService extends IService<JdProductShareEntity> {


    IPage<JdProductShare> search(PageRequest page, JdProductShareQuery query);

    void importProduct(MultipartFile file);

    String getJdSkuSharePosters(String busdId,String id, String appid, PosterAppInfo info);

    LinkedHashMap<String,List<JdProductShare>> getJdProductList(PageRequest pageInfo);

    void saveProduct(JdProductShare jdProductShare);

    void updateJdPrice(JdProductShare jdProductShare);
}